def sum(num):
    result = 0;
    for s in range(1, num + 1):
        result += s
    return result


print(sum(100))
